package cn.howxu.yichen_ovo.event;

import cn.howxu.yichen_ovo.YiChenOVO;
import cn.howxu.yichen_ovo.client.render.entity.DollEntityRender;
import cn.howxu.yichen_ovo.init.ModEntities;
import net.minecraft.client.renderer.entity.EntityRenderers;
import net.minecraftforge.api.distmarker.Dist;
import net.minecraftforge.client.event.EntityRenderersEvent;
import net.minecraftforge.eventbus.api.SubscribeEvent;
import net.minecraftforge.fml.common.Mod;

/**
 * @description: TODO
 * @author: HowXu
 * @date: 2025/9/12 18:41
 */
@Mod.EventBusSubscriber(bus = Mod.EventBusSubscriber.Bus.MOD, modid = YiChenOVO.MODID, value = Dist.CLIENT)
public class EntitiesRegistryEvent {
    @SubscribeEvent
    public static void onEntityRenderers(EntityRenderersEvent.RegisterRenderers event) {
        EntityRenderers.register(ModEntities.DOLL.get(), DollEntityRender::new);
    }
}
